Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

P2p locking adjustments #157

Closed
wants to merge 3 commits into from
Closed

P2p locking adjustments #157

wants to merge 3 commits into from

Conversation

tuommaki
Copy link
Contributor

No description provided.

@tuommaki tuommaki self-assigned this Mar 20, 2024
Comment on lines +836 to +837
// Let the dust settle down a bit.
//tokio::time::sleep(std::time::Duration::from_secs(5)).await;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@musitdev in the current setting, if there's no wait / sleep between connects and transaction sends, this test locks up on my laptop. What happens is that those derivative new node connects are happening concurrently with the transaction sends and this causes the deadlock somehow.

If you uncomment this sleep and all the connects take place before the transaction sends, so far I couldn't reproduce the deadlock anymore.

@tuommaki tuommaki requested a review from musitdev March 20, 2024 06:36
@tuommaki
Copy link
Contributor Author

Most of the testing here is now finished and there are no further actions in this branch. Closing.

@tuommaki tuommaki closed this Mar 22, 2024
@tuommaki tuommaki deleted the p2p-locking-adjustments branch March 22, 2024 06:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant